package com.fla.millioner;

public class Question {

    private long id;

    private String question;

    private String answer1;
    private String answer2;
    private String answer3;
    private String answer4;

    private int level;
    private int readCount;

    public String[] getAnswers() {
        return new String[] {answer1, answer2, answer3, answer4};
    }

    public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public int getReadCount() {
        return readCount;
    }

    public void setReadCount(int readCount) {
        this.readCount = readCount;
    }

    public String getQuestion() {
        return question;
    }

    public void setQuestion(String question) {
        this.question = question;
    }

    public String getAnswer1() {
        return answer1;
    }

    public void setAnswer1(String answer1) {
        this.answer1 = answer1;
    }

    public String getAnswer2() {
        return answer2;
    }

    public void setAnswer2(String answer2) {
        this.answer2 = answer2;
    }

    public String getAnswer3() {
        return answer3;
    }

    public void setAnswer3(String answer3) {
        this.answer3 = answer3;
    }

    public String getAnswer4() {
        return answer4;
    }

    public void setAnswer4(String answer4) {
        this.answer4 = answer4;
    }

    public int getLevel() {
        return level;
    }

    public void setLevel(int level) {
        this.level = level;
    }

    @Override
    public String toString() {
        return "id: " + id + "\nquestion: " + question + "\nanswer1: " + answer1 + "\nanswer2: " + answer2 + "\nanswer3: "
            + answer3 + "\nanswer4: " + answer4 + "\nlevel: " + level + "\nreadCount: " + readCount;
    }

}
